package com.apes.scm.masterdata.product.es;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.elasticsearch.annotations.Query;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;

public interface EsProductRepository extends ElasticsearchRepository<EsProduct, String> {

    void deleteAllById(String id);
    void deleteAllByTagsAndId(String tags, String id);
}
